package com.example.app.mapper;

import com.example.app.entity.LiveLocation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LiveLocationMapper {

    LiveLocation findLiveLocationById(Long id);

    void insertLiveLocation(LiveLocation liveLocation);

    void updateLiveLocation(LiveLocation liveLocation);

    List<LiveLocation> findAllByUserIdInAndSharingTrue(List<Long> userIds);
}
